import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_items
from util import *

class Bracers(sim_items.Armor):
    def __init__(self):
        bonuses = {
                'evMod': 0,
                'pvMod': 2,
        }

        # TODO: depth, materials, etc.
        sim_items.Armor.__init__(self, 
                'pair of bracers',    # name
                parole.map.AsciiTile('[', colors['Gold']), # appearance
                2,          # weight (lbs)
                ['arms'],   # slot(s)
                4500,       # energy to wear
                bonuses,
                unidDescription="These sheaths of leather or metal completely "
                "cover the forearm. Archers originally devised them to protect "
                "the arm from a taut bowstring, but close-quarter warriors "
                "quickly discovered their utility in guarding a swordarm from "
                "wayward blows."
                )

#========================================
thingClass = Bracers




